/**
 * 用户收藏夹
 *
 * @export
 * @class MenuFavorite
 */
export class MenuFavorite {

  /**
   * Creates an instance of MenuFavorite.
   * @param {number} favoriteId 收藏夹ID
   * @param {number} roleId 角色ID
   * @param {number} menuId 菜单ID
   * @param {number} favoriteSeq 快捷菜单序号（序号越小排在越前）
   * @param {string} [menuName] 菜单名称
   * @param {string} [menuSubName] 菜单子标题
   * @param {string} [menuPath] 菜单路径
   * @param {string} [menuIcon] 菜单图标
   * @memberof MenuFavorite
   */
  constructor(
    public favoriteId: number,
    public userId: number,
    public menuId: number,
    public favoriteSeq: number,
    public menuName?: string,
    public menuSubName?: string,
    public menuPath?: string,
    public menuIcon?: string,
  ) {
    Object.defineProperty(this, 'menuName', {enumerable: false});
    Object.defineProperty(this, 'menuSubName', {enumerable: false});
    Object.defineProperty(this, 'menuPath', {enumerable: false});
    Object.defineProperty(this, 'menuIcon', {enumerable: false});
  }
}


